package fr.ginvest.interfaces;

import java.util.Collection;

import javax.ejb.Remote;

import fr.ginvest.entity.Startup;

@Remote
public interface StartupFacadeRemote {
	Startup addStartup(Startup s);
	Startup findStartupById(int id);
	Collection<Startup> listStartups();
	Collection<Startup> listActiveStartups();
	Startup findStartupByName(String name);
	Startup updateStartup(Startup s);
	void deleteStartup(Startup s);
	Startup findStartupByLogin(String login);
	Startup authenticate(String login, String password);
}
